home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / src / out-of-phase-102-c / OutOfPhase 1.02 Source / OutOfPhase Folder / TieTrackPixel.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-23  |  1.4 KB  |  46 lines  |  [TEXT/KAHL]

  1. /* TieTrackPixel.h */
  2.  
  3. #ifndef Included_TieTrackPixel_h
  4. #define Included_TieTrackPixel_h
  5.  
  6. /* TieTrackPixel module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* Array */
  12. /* Memory */
  13.  
  14. struct TieTrackPixelRec;
  15. typedef struct TieTrackPixelRec TieTrackPixelRec;
  16.  
  17. struct TieIntersectListRec;
  18. typedef struct TieIntersectListRec TieIntersectListRec;
  19.  
  20. /* create a new tie pixel tracking object */
  21. TieTrackPixelRec*        NewTieTrackPixel(void);
  22.  
  23. /* delete a tie pixel tracking object */
  24. void                                DisposeTieTrackPixel(TieTrackPixelRec* TieTrackPixel);
  25.  
  26. /* add a new point pair to the tracking thang */
  27. MyBoolean                        AddTieTrackPixelElement(TieTrackPixelRec* TieTrackPixel,
  28.                                             long StartX, long StartY, long EndX, long EndY);
  29.  
  30. /* obtain an array of all ties which are in some manner intersecting the */
  31. /* specified X interval */
  32. TieIntersectListRec*    GetTieTrackPixelIntersecting(TieTrackPixelRec* TieTrackPixel,
  33.                                             long XLocStart, long XLocWidth);
  34.  
  35. /* dispose of the tie intersection list */
  36. void                                DisposeTieTrackIntersectList(TieIntersectListRec* List);
  37.  
  38. /* find out how many elements there are in the intersection list */
  39. long                                GetTieTrackIntersectListLength(TieIntersectListRec* List);
  40.  
  41. /* get the drawing information about a particular tie thang */
  42. void                                GetTieTrackIntersectElement(TieIntersectListRec* List, long Index,
  43.                                             long* StartX, long* StartY, long* EndX, long* EndY);
  44.  
  45. #endif
  46.